package com.gsx.service.impl;

import com.gsx.bean.Category;
import com.gsx.dao.CategoryMapper;
import com.gsx.service.CategorySevice;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description TODO
 * @Authoe gsx
 * @Date 2021/04/06 下午 7:11
 **/
@Service
public class CategorySeviceImpl implements CategorySevice {
   @Resource
    private CategoryMapper categoryMapper;
    @Override
    public List<Category> getCategoryAll() {
    return categoryMapper.selectCategoryAll();
    }
}
